package com.erp.erp_ui.money.req;

import java.math.BigDecimal;

/**
 * @ClassName : AddPaymentActuallyReq
 * @Description : 付款实付新增入参实体
 * @Author : lst
 * @Date: 2021-04-05 01:30
 */
public class AddPaymentActuallyReq {
    /**
     * 主键id
     */
    private Integer id;
    /**
     * 付款主表id
     */
    private Integer parentId;
    /**
     * 付款明细id
     */
    private Integer detailId;
    /**
     * 发票编号
     */
    private String invoiceNumber;
    /**
     * 采购单号
     */
    private String purchaseNo;
    /**
     * 外销合同号
     */
    private String contractNo;
    /**
     * 实付日期
     */
    private String time;
    /**
     * 付款银行名称
     */
    private String bankName;
    /**
     * 付款账号
     */
    private String account;
    /**
     * 实付金额
     */
    private BigDecimal amount;
    /**
     * 操作员
     */
    private String operator;
    /**
     * 操作员编码
     */
    private String operationCode;

    private String remark;

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getOperationCode() {
        return operationCode;
    }

    public void setOperationCode(String operationCode) {
        this.operationCode = operationCode;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getDetailId() {
        return detailId;
    }

    public void setDetailId(Integer detailId) {
        this.detailId = detailId;
    }

    public String getInvoiceNumber() {
        return invoiceNumber;
    }

    public void setInvoiceNumber(String invoiceNumber) {
        this.invoiceNumber = invoiceNumber;
    }

    public String getPurchaseNo() {
        return purchaseNo;
    }

    public void setPurchaseNo(String purchaseNo) {
        this.purchaseNo = purchaseNo;
    }

    public String getContractNo() {
        return contractNo;
    }

    public void setContractNo(String contractNo) {
        this.contractNo = contractNo;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("AddPaymentActuallyReq").append('[')
                .append("id=")
                .append(id)
                .append(",parentId=")
                .append(parentId)
                .append(",detailId=")
                .append(detailId)
                .append(",invoiceNumber=")
                .append(invoiceNumber)
                .append(",purchaseNo=")
                .append(purchaseNo)
                .append(",contractNo=")
                .append(contractNo)
                .append(",time=")
                .append(time)
                .append(",bankName=")
                .append(bankName)
                .append(",account=")
                .append(account)
                .append(",amount=")
                .append(amount)
                .append(",operator=")
                .append(operator)
                .append(']');
        return sb.toString();
    }
}
